scaleFactor

open fun scaleFactor(): Float

Returns the scale factor of the display where the current browser instance is located at the moment. The device scale factor specifies the ratio between physical and logical pixels.